package entity;

public class Letter {
    public String word;
    public int leftTopX;
    public int leftTopY;
    public int rightBottomX;
    public int rightBottomY;

    public Letter(String word, int leftTopX, int leftTopY, int rightBottomX, int rightBottomY) {
        this.word = word;
        this.leftTopX = leftTopX;
        this.leftTopY = leftTopY;
        this.rightBottomX = rightBottomX;
        this.rightBottomY = rightBottomY;
    }

    public String toString() {
        return word + " " + leftTopX + " " + leftTopY + " " + rightBottomX + " " + rightBottomY;
    }


}
